package cn.snowheart.strategy.duck.entity;

import cn.snowheart.strategy.duck.flyable.FlyNoWay;
import cn.snowheart.strategy.duck.quackable.Quack;

/**
 * 模型鸭
 *
 * @author liuwanxiang
 * @version 2019/06/24
 */
public class ModelDuck extends Duck {

    public ModelDuck() {
        this.flyBehavior = new FlyNoWay();
        this.quackBehavior = new Quack();
    }

    @Override
    public void display() {
        System.out.println("I'm a model duck~");
    }
}
